package com.ibeeking.found.msg.rest.service;

import com.ibeeking.found.msg.service.common.dos.WxMpMsgDO;
import com.ibeeking.found.msg.service.common.param.WxMpAutoMsgParam;
import com.ibeeking.found.msg.service.common.param.WxMpMsgParam;
import com.ibeeking.found.msg.service.common.query.WxMpMsgPageQuery;
import com.ibeeking.found.msg.service.common.vo.WxMpMsgVO;
import com.ibeeking.found.msg.service.common.vo.WxMpGroupMessageUploadVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 微信消息
 *
 * @author JL
 * @date 2019-05-28 16:12:10
 */
public interface IWxMpMsgService extends IService<WxMpMsgDO> {

	/**
	 * 获取分组后的消息列表
	 * @return
	 */
	IPage<WxMpMsgVO> listWxMsgMapGroup(WxMpMsgPageQuery pageQuery);

	Object pageList(WxMpMsgPageQuery pageQuery);

	@Deprecated
	WxMpMsgVO add(WxMpMsgParam param);

	Boolean modify(WxMpMsgParam param);

	Boolean del(Long id);

	WxMpGroupMessageUploadVO.Message view(Long id);

	void add(WxMpAutoMsgParam param);

}
